import './App.css';
import { Routes, Route, Link, Navigate } from "react-router-dom"
import Home from './views/home'
import About from './views/about'
import logo from './logo.svg';

function App() {
  return (
    <div className="App">
      <div className='content'>
        <img className='App-logo' src={logo} />
        <Routes>
          <Route path="/" element={<Navigate to="/home"/>} />
          <Route path="/home" element={<Home />}></Route>
          <Route path="/about" element={<About />}></Route>
        </Routes>
      </div>
    </div>
  );
}

export default App;
